#include "monsterdata.h"

Bat::Bat()
: Monster( 1, 2, 1, 1 )
{
}

bool Bat::Flammable( uint* flammableType ) const
{
    *flammableType |= FLAMMABLE_BURN_SHORT | FLAMMABLE_CHAR;
    return true;
}

bool Bat::Name( std::string* name, bool* plural, uint article ) const
{
    if ( name->empty() && article == ARTICLE_INDEFINITE )
        *name += "a ";
    if ( article == ARTICLE_PLURAL )
        *name += "bats";
    else
        *name += "bat";
    return true;
}

bool Bat::Symbol( IO::SymList* list ) const
{
    list->push_back( IO::Sym( 'b', Colour( 128, 128, 255 ) ) );
    return true;
}